#ifndef AUTHORIZATION_H
#define AUTHORIZATION_H

#include <QWidget>
#include <mainwindow.h>
#include <profile.h>

#include "Singleton.h"

namespace Ui {
  class Authorization;
}

class Authorization : public QWidget
{
  Q_OBJECT

public:
  explicit Authorization(QWidget *parent = nullptr);
  ~Authorization();

signals:
    void currentuser(const QString, const QString, const QString, const QString, const QString);

private slots:
  void on_pushButton_clicked();

  void on_checkBox_stateChanged(int arg1);

  void on_checkBox_clicked(bool checked);

private:
  Ui::Authorization *ui;
  MainWindow *mainWindow;
  ProflePage *profile;
};

#endif // AUTHORIZATION_H
